package com.ibeeking.found.common.entity.open;

import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName OpenAuthOfWxCpContact
 * @Description
 * @Author ibeeking
 * @Date 2021-11-08 8:59
 **/
@Data
public class OpenAuthOfWxCpContact implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 签名时间戳
     */
    private String timestamp;
    /**
     * 签名验证字符串
     */
    private String nonceStr;
    /**
     * 签名
     */
    private String signature;

    /**
     * 推送的suiteTicket，每10分钟推送一次
     */
    private String suiteTicket;
    /**
     * 推送suiteTicket的时间戳(毫秒)
     */
    private Long ticketTimstamp;
    /**
     * 推送suiteTicket的有效时长(1200秒)
     */
    private Integer ticketExpireTime;
    /**
     * 预授权码的pre_auth_Code
     */
    private String preAuthCode;
    /**
     * 预授权码的pre_auth_Code的过期时间(1200秒)
     */
    private Long preAuthCodeExprieIn;
    /**
     * preAuthCode的有效时长(1200秒)
     */
    private Integer preAuthCodeExpireTime;
    /**
     * 授权码的permanentCode
     */
    private String permanentCode;

    /**
     * 被授权的suiteAccessToken
     */
    private String suiteAccessToken;
    /**
     * AccessToken的过期时间(7200秒)
     */
    private Long suiteAccessExpirein;
    /**
     * suiteAccessToken的有效时长(7200秒)
     */
    private Integer suiteAccessExpireTime;
    /**
     * 授权方（企业）的AccessToken
     */
    private String corpAccessToken;
    /**
     * AccessToken的过期时间(秒)
     */
    private Long corpAccessExpirein;
    /**
     * corpAccessToken的有效时长(7200秒)
     */
    private Integer corpAccessExpireTime;
    /**
     * 反参
     */
    private String state;
    /**
     * 授权方企业信息
     */
    private OpenAuthOfWxCpTpAuthCorpInfo authCorpInfo;
}
